import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';

// 导入redux相关的包, 使用Provider将store传递给App
import { Provider } from 'react-redux';
import store from './store';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(

  <React.StrictMode>
    <Provider store={store}>
      <App />
    </Provider >
  </React.StrictMode >



);


